package com.elong.android.specialhouse;

/**
 * @ClassName: JSONConstants 
 * @Description: 对应Json数据中的 key
 * @author: kaiqi.li
 * @date:2015-8-5 下午3:29:42 
 */
public class JSONConstants {
	
	public final static String ATTR_ERRORCODE = "ErrorCode";
	public final static String ATTR_CHECKURL = "checkUrl";
	public final static String ATTR_ERRORMESSAGE = "ErrorMessage";
//	public final static String ATTR_RETCODE = "Retcode";
//	public final static String ATTR_RETDESC = "Retdesc";
	public final static String ATTR_ISERROR = "IsError";
	public final static String ATTR_ALL_CITY_LIST = "AllCityList";
	public final static String ATTR_HOT_CITY_LIST = "HotCityList";
	public final static String ATTR_CHECKSUM = "checkSum"; // 图片MD5加密校验和
	public final static String ATTR_CALENDAR = "Calendar";
	public final static String ATTR_OPTIONCONFIG_LIST = "OptionConfigList";
	public final static String ATTR_REGION_RESPONSE_DATA = "RegionResponseData";
	public final static String ATTR_HOUSE_COUNT = "HouseCount";
	public final static String ATTR_HOUSE_ITEM_LIST = "HouseItemList";
	public final static String ATTR_HOUSE_TOTAL = "Total";
	public final static String ATTR_HOUSE_ITEMS = "HouseItems";
	
	public final static String ATTR_RESP_HOUSE_ID = "Id";//发布房源返回的房源id
	public final static String ATTR_AD_IMAGE_INFO = "AdImageInfo";
	public final static String ATTR_LANDLOARD = "Landloard";
	public final static String ATTR_COMMENT = "Comment";
	public final static String ATTR_COMMENT_ITEMS = "CommentItems";
	public final static String ATTR_OTHER_HOUSE = "OtherHouses";
	public final static String ATTR_HOUSE_ID = "HouseId";
	public final static String ATTR_HOUSE_NAME = "HouseName";
	public final static String ATTR_HOUSE_INFO = "HouseInfo";
	public final static String ATTR_DAILY_PRICE = "DailyPrice";
	public final static String ATTR_IS_COLLECTED = "IsCollected";
	public final static String ATTR_IS_IDENTIFY = "IsIdentify";
	public final static String ATTR_COMMENT_COUNT = "CommentCount";
	public final static String ATTR_RATING = "Rating";
	public final static String ATTR_TOTAL_HOUSE_PRICE = "TotalHousePrice";
	public final static String ATTR_TOTAL_SERVICE_PRICE = "TotalServicePrice";
	public final static String ATTR_IS_BOOKABLE = "IsBookable";
	
	public final static String ATTR_SUBWAYSTATIONTAGINFOS = "SubwayStationTagInfos";
	public final static String ATTR_TAGNAME = "TagName";
	public final static String ATTR_LOCATIONLIST = "LocationList";
	public final static String ATTR_TYPEID = "TypeID";
	public final static String ATTR_TRAFFIC = "Airport/Railway";
	public final static String ATTR_DATA_NAME = "DataName";
	public final static String ATTR_LAT = "Lat";
	public final static String ATTR_LNG = "Lng";
	public final static String ATTR_COMMERCIAL = "Commercial";
	public final static String ATTR_DATA_ID = "DataID";
	public final static String ATTR_DISTRICT = "District";
	public final static String ATTR_HOSPITAL = "Hospital";
	public final static String ATTR_SCHOOL = "School";
	public final static String ATTR_SUBWAY = "Subway Station";
	public final static String ATTR_TYPE = "Type";
	public final static String ATTR_NAME = "Name";
	public final static String ATTR_PROPERTIESID = "PropertiesId";
	public final static String ATTR_PARENT_ID = "ParentId";
	
	public final static String ATTR_SUGGESTLIST = "SuggestList";
	public final static String ATTR_ACCESS_TOKEN = "AccessToken";
	public final static String ATTR_REAL_NAME = "RealName";
	public final static String ATTR_CARD_TYPE = "CardType";
	public final static String ATTR_ID_NUMBER = "IDNumber";
	public final static String ATTR_WEEK_PRICE = "WeekPrice";
	public final static String ATTR_ORDER_ID = "orderId";
	public final static String ATTR_INDEX = "Index";
	public final static String ATTR_TOTAL_NUM = "TotalNum";
	public final static String ATTR_LIST = "List";
	public static final String ATTR_PUBLISHER_ID = "PublisherUid";

	public static final String ATTR_ID = "Id";
	public static final String ATTR_UIDS = "Uids";
	public static final String ATTR_UID = "Uid";
	public static final String ATTR_VERIFY_CLOSING_INFOS = "VerifyClosingInfos";

	public final static String ATTR_BINDINGSTATE = "BindingState";
	public final static String ATTR_BANKCARD_LIST = "BankCardList";
	/**
	 * 房源列表
	 */
	public static final String ATTR_HOUSE_LIST = "HouseList";
	public static final String ATTR_PAGE_SIZE = "PageSize";
	/**
	 * 消息列表
	 */
	public static final String ATTR_MESSAGE_LIST = "MessageList";
	public static final String ATTR_MESSAGE_NUM = "Num";
	/**
	 * 错误码，用户不存在
	 */
	public static final int ERROR_CODE_USER_NOT_EXIST = 111;
	/**
	 * userToken验证失败(用户未登录或者不存在)
	 */
	public static final int ERROR_CODE_USER_TOKEN_VALIDATE_FAIL = 124;
	/**
	 * userToken验证异常
	 */
	public static final int ERROR_CODE_USER_TOKEN_VALIDATE_EXCEPTION = 122;
	/**
	 * 未完成订单
	 */
	public static final int ERROR_CODE_HAS_INCOMPLETE_ORDER = 108;
	/**
	 * 没有此房源
	 */
	public static final int ERROR_CODE_HOUSE_NOT_EXISTS = 117;
	/**
	 * 没有此房源
	 */
	public static final int ERROR_CODE_WRONG_PRICE = 112;

	public static final String ATTR_FORCE_UPDATE = "ForceUpdate";
	public static final String ATTR_ANDROID_VERSION = "AndroidVersion";

	public static final String ATTR_RECIEVER_ID = "recieverId";
	public static final String ATTR_REVIEVER_NAME= "recieverName";
	public static final String ATTR_SENDERID_id = "senderId";
	public static final String ATTR_SENDER_NAME= "senderName";
	public static final String ATTR_TRANSMISSION_CONTENT= "transmissionContent";
	public static final String ATTR_VERIFY_CLOSING_INFO = "VerifyClosingInfos";
	public static final String ATTR_TITLE = "title";
	public static final String ATTR_TEXT = "text";
	public static final String ATTR_MSG_TYPE = "msgType";

	// Countly event key
	public final static String ATTR_EVENT_PAGE = "page";
	public final static String ATTR_EVENT_CLICKSPOT = "clickSpot";
	public final static String ATTR_EVENT_BLOCKID = "blockId";
	public final static String ATTR_EVENT_BLOCKNAME = "blockName";
	public final static String ATTR_EVENT_BANNERID = "bannerId";
	public final static String ATTR_EVENT_BANNERURL = "bannerUrl";

}
